Skip to content

additional_model_arguments#748

Merged
hamishivi merged 1 commit intoallenai:mainfrom
garrett361:additional-model-args
Jul 2, 2025
Merged

additional_model_arguments#748
hamishivi merged 1 commit intoallenai:mainfrom
garrett361:additional-model-args

Conversation

@garrett361
Copy link
Contributor

This PR adds a catch-all --additional_model_arguments flag which allows the user to pass an arbitrary dictionary of arguments which are used to initialize the model. Example usage:

--additional_model_arguments '{"z_loss": 1e-7, "some_boolean_key": true, "some_int_key": 1}'

Example use case: change the details of the RoPE implementation for the model.

Copy link
Collaborator

@hamishivi hamishivi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@hamishivi hamishivi merged commit 00f6b60 into allenai:main Jul 2, 2025
3 checks passed
finbarrtimbers pushed a commit that referenced this pull request Jul 2, 2025
finbarrtimbers pushed a commit that referenced this pull request Jul 2, 2025
@fabianlim fabianlim mentioned this pull request Jul 10, 2025
sang1583535 pushed a commit to sang1583535/open-instruct that referenced this pull request Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants